
/**
 * This class contains all the methodes used to make comments, remove comments, ....
 * 
 * @Mathieu Reymond and Jonathan Smet 
 * @ 11/05/2011
 */
public class Comment
{
    private User userToComment;
    private String userComment;
    private String userName;
    private String bandName;
    
      
    public Comment(User userToComment, String userComment, String bandName )
    {
        this.userToComment = userToComment;
        this.userComment = userComment;
        userName = userToComment.getName();
        this.bandName = bandName;
    }
    
     /**
     * The methode returns the username of the author of the comment
     * 
     * @return username
     *  
     */
    public String getUserName()
    {
        return userName;
    }
    
     /**
     * The methode returns the written comment
     * 
     * @return The usercomment
     *  
     */
    public String getComment()
    {
        return userComment;
    }
    
     /**
     * The methode returns the performance to witch the comment is posted
     * 
     * @return The name of the performance
     *  
     */
    public String getPerformanceName()
    {
        return bandName;
    }

}
